package day4;

import java.util.concurrent.FutureTask;

/**
 * @author joker
 * @date 2022/4/15 0015 - 12:43
 */
public class TestThread3 {
    public static void main(String[] args) {
        Window3 window3 = new Window3();
        FutureTask futureTask = new FutureTask(window3);
        Thread t1 = new Thread(futureTask);
        Thread t2 = new Thread(futureTask);
        Thread t3 = new Thread(futureTask);
        t1.start();
        t2.start();
        t3.start();
    }
}
